package com.xmg.boot.demo.bootlesson1.user.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xmg.boot.demo.bootlesson1.user.entity.dto.StudentDto;
import com.xmg.boot.demo.bootlesson1.user.entity.pojo.Student;
import com.xmg.boot.demo.bootlesson1.user.entity.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author mwd
 * @create 2023-11-22
 */
@Mapper
@Component
public interface StudentMapper extends BaseMapper<StudentDto> {
    List<StudentDto> getStudentDto(@Param(Constants.WRAPPER) LambdaQueryWrapper<StudentDto> queryWrapper);
}
